f23d8f9598dabaa40b7cd1e0cf244abfa6a1e31f,core/src/com/shatteredpixel/shatteredpixeldungeon/levels/painters/ShopPainter.java,ShopPainter,ChooseBag,#Belongings#,253
Before Change
scrolls++;
else if (item instanceof Potion)
potions++;
else if (item instanceof Wand)
wands++;
}
//...and the equipped weapon incase it's a wand
if (pack.weapon instanceof Wand)
wands++;
//kill our counts for bags that have already been dropped.
if (Dungeon.limitedDrops.seedBag.dropped())
seeds = 0;
if (Dungeon.limitedDrops.scrollBag.dropped())
scrolls = 0;
if (Dungeon.limitedDrops.potionBag.dropped())
potions = 0;
if (Dungeon.limitedDrops.wandBag.dropped())
wands = 0;
After Change
seeds++;
else if (!Dungeon.limitedDrops.scrollBag.dropped() && item instanceof Scroll)
scrolls++;
else if (!Dungeon.limitedDrops.potionBag.dropped() && item instanceof Potion)
potions++;
else if (!Dungeon.limitedDrops.wandBag.dropped() && item instanceof Wand)
wands++;
}